import { defineStore } from "pinia";

export const useLayoutStore = defineStore("useLayout", {
  state: () => ({
    isLayout:true,
  }),
  getters: {
    getLayout(state: any) {
      return state.isLayout;
    },
  },
  actions: {
    setLayout(type: boolean) {
      this.isLayout = type;
    },
  },
});
